package com.muki.uri.core;

import com.muki.uri.entity.FlagUri;

public class RequestUri {

	private FlagUri flagUri;
	
	private boolean check;
	
	//过滤器的计数器
	int filterCount=0;
	
	public void getFilter() {
		filterCount++;
	}
	
	public int getFilterCount() {
		return filterCount;
	}

	public FlagUri getFlagUri() {
		return flagUri;
	}

	public void setFlagUri(FlagUri flagUri) {
		this.flagUri = flagUri;
	}
	
	public void ban() {
		check = false;
	}
	
	public void allow() {
		check = true;
	}
	
	public boolean check() {
		return check;
	}

}
